package com.hzf.order.dao.mapper;

import com.hzf.order.dao.model.OrderUserInfo;
import com.hzf.order.dao.model.OrderUserInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderUserInfoMapper {
    long countByExample(OrderUserInfoExample example);

    int deleteByExample(OrderUserInfoExample example);

    int deleteByPrimaryKey(Integer orderUserInfoId);

    int insert(OrderUserInfo record);

    int insertSelective(OrderUserInfo record);

    List<OrderUserInfo> selectByExample(OrderUserInfoExample example);

    OrderUserInfo selectByPrimaryKey(Integer orderUserInfoId);

    int updateByExampleSelective(@Param("record") OrderUserInfo record, @Param("example") OrderUserInfoExample example);

    int updateByExample(@Param("record") OrderUserInfo record, @Param("example") OrderUserInfoExample example);

    int updateByPrimaryKeySelective(OrderUserInfo record);

    int updateByPrimaryKey(OrderUserInfo record);

    List<OrderUserInfo> selectByExampleBygoods(Integer shopId);

    List<OrderUserInfo>  selectByUserBygoods(Integer userId);
    List<OrderUserInfo>  selectByUserByOrderUser(Integer orderUserId);


}